<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Sourcedrop</title>
        <link href="<?= site_url() . 'assets/css/jquery.linedtextarea.css' ?>" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script type="text/javascript" src="<?= site_url() . 'assets/scripts/jquery.autogrowtextarea.js' ?>"></script>
        <script type="text/javascript" src="<?= site_url() . 'assets/scripts/jquery.linedtextarea.js' ?>"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                $("#source_code").autoGrow();
            });

        </script>
    </head>
    <body>
        <h1>Sourcedrop</h1>
        <ul>
            <?php
            foreach($items as $url => $item) {
                echo '<li><a href="' . site_url($url) . '">' . $item . '</a></li>';
            }
            ?>
        </ul>
